	{:PHP_EOL}
	/**
	* @title 删除{$table_title}{:PHP_EOL}
	* @description 删除{$table_title}{:PHP_EOL}
	* @author {$author}{:PHP_EOL}
	* @url /{$module_name}/{$table_name}/delete
	* @method *
	*
	* @param name:token require:1 default: desc:token
	*
	* @param name:id type:int|array require:1 other: desc:要删除的id
	*@return error_id:1-{$module_no}-{$controller_no}-0008 删除失败
	*/
	public function delete(){
		$id=input('id');
		$model=new \{$app_namespace}\{$module_name}\model\{:parse_name($table_name,true)}();
		$flag = $model->destroy($id);
		if($flag){
			$msg['msg']='删除成功';
			return $this->successJson($msg);
		}else{
			$msg['msg']='删除失败';
			$msg['error_id']='1-{$module_no}-{$controller_no}-0008';
			return $this->errorJson($msg);
		}
	}